package gunfire.events;

import basemod.eventUtil.util.Condition;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import gunfire.GunfireMod;

public class RedChestEvent3Condition implements Condition {

    @Override
    public boolean test() {
        AbstractPlayer p = AbstractDungeon.player;
        boolean result = p.hasRelic("gunfire:SoulOfElement1")
                || p.hasRelic("gunfire:SoulOfElement2")
                || p.hasRelic("gunfire:SoulOfOrb1")
                || p.hasRelic("gunfire:SoulOfOrb2")
                || p.hasRelic("gunfire:SoulOfIron1")
                || p.hasRelic("gunfire:SoulOfIron2");
        //GunfireMod.logger.info("@@@@@@@@@@@@@@@@@@@@" + result);
        return result;
    }
}
